package ooday04.Practice02;

public class Intertest {
    public static void main(String[] args) {
        Inter o1=new Inter() {
        };
        Inter o2=new Inter() {
        };
        InterInter o3=new InterInter() {
            public void show(){
                System.out.println("show");
            }
        };
        o3.show();
        InterInter o4=new InterInter() {
            public void show(){
                System.out.println("show2");
            }
        };
        o4.show();
    }
}
